Cleantalk\ApbctWP\ConnectionReports A

Total Complexity 64
Dependencies 7
Dependents 1
Total lines 487
Lines of code 286
Logical lines of code 114
Comment lines 117
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
prepareNegativeReportsHtmlForSettingsPage()
A
40 15 56
sendEmail()
A
38 11 69
getUnsentReportsIds()
S
62 6 11
handleRequest()
S
56 5 20
__construct()
S
56 5 18
sendUnsentReports()
S
61 4 13
addReportToDb()
S
51 2 29
updateStats()
S
65 3 8
setReportAsSent()
S
61 2 15
getReportsDataByIds()
S
65 3 9
getReportsDataFromDb()
S
61 2 14
rotateReports()
S
60 2 12
hasNegativeReports()
S
80 1 3
hasUnsentReports()
S
80 1 3
remoteCallOutput()
S
82 1 3
wipeReportsData()
S
80 1 3